//
//  DeviceInfoViewController.m
//  iRMAP
//
//  Created by Ryan Enguero on 4/2/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "DeviceInfoViewController.h"
#import "UiManager.h"

@interface DeviceInfoViewController ()

@end

@implementation DeviceInfoViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)graphAction:(id)sender {
    
    NSLog(@"Graph");
    
    [self.navigationController pushViewController:[[UiManager sharedItems] graphViewController] animated:YES];
    
}

- (IBAction)measurementAction:(id)sender {
    
    NSLog(@"Measurement");
    
    [self.navigationController pushViewController:[[UiManager sharedItems] measurementViewController] animated:YES];
}

- (IBAction)setPointAction:(id)sender {
    
    NSLog(@"Set point");
    
    [self.navigationController pushViewController:[[UiManager sharedItems] setpointViewController] animated:YES];
}

- (IBAction)logsAction:(id)sender {
    
    NSLog(@"Logs");
    
    [self.navigationController pushViewController:[[UiManager sharedItems] logsViewController] animated:YES];
}
@end
